package com.oa.bean.teaching;

import java.util.HashSet;
import java.util.Set;

/**
 * 学期表
 * @author HAIRUCHUMA
 *
 */
public class Semester {

	private int semid;
	private String semname;// 学期名称
	private int cid;
	private int classid;
	
	private Classes classess;
	
	private Set<Courses> coursess = new HashSet<Courses>();

	public Set<Courses> getCoursess() {
		return coursess;
	}

	public void setCoursess(Set<Courses> coursess) {
		this.coursess = coursess;
	}

	public Classes getClassess() {
		return classess;
	}

	public void setClassess(Classes classess) {
		this.classess = classess;
	}

	public int getSemid() {
		return semid;
	}

	public void setSemid(int semid) {
		this.semid = semid;
	}

	public String getSemname() {
		return semname;
	}

	public void setSemname(String semname) {
		this.semname = semname;
	}

	public int getCid() {
		return cid;
	}

	public void setCid(int cid) {
		this.cid = cid;
	}

	public int getClassid() {
		return classid;
	}

	public void setClassid(int classid) {
		this.classid = classid;
	}

	@Override
	public String toString() {
		return "Semester [semid=" + semid + ", semname=" + semname + ", cid=" + cid + ", classid=" + classid + "]";
	}

}
